package com.ifinc.common.db.partition;

/**
 * Created by IntelliJ IDEA.
 * User: luotao
 * Date: 12-5-28
 * Time: 18:54
 */
public abstract class AbstractPartitionCondition implements IPartitionCondition {
    private String sql;

    private String tableName;

    private Object[] values;

    public AbstractPartitionCondition(String sql, String tableName, Object... values) {
        this.sql = sql;
        this.tableName = tableName;
        this.values = values;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Object[] getValues() {
        return values;
    }

    public void setValues(Object[] values) {
        this.values = values;
    }
}
